<?php namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class GameStatistics extends Model {
    //use SoftDeletes;
    //protected $dates = ['deleted_at'];
    protected $casts = [
        'id' => 'integer'
    ];

    protected $table = 'game_statistics';

    protected $fillable = ['name','user_name','score','game_id','user_id','people_count','people_count_total','city_count','city_count_total','arms_count','arms_count_total','money_count','money_count_total','farming_count','farming_count_total','commerce_count','commerce_count_total','food_count','food_count_total','population_count','population_count_total',];

	protected $hidden = [];


        public function game()
    {
    return $this->belongsTo('App\Game');
    }
    }
